Automattic\WooCommerce\Checkout\Helpers\ReserveStock S

Total Complexity 24
Dependencies 3
Dependents 6
Total lines 217
Lines of code 115
Logical lines of code 44
Comment lines 74
Methods 7
Properties 1

Methods 7

Method Rating Maintainability Complexity Lines of code
reserve_stock_for_order()
A
44 14 42
reserve_stock_for_product()
S
50 3 32
release_stock_for_order()
S
63 2 12
get_query_for_reserved_stock()
S
59 1 16
get_reserved_stock()
S
68 2 7
__construct()
S
78 1 3
is_enabled()
S
82 1 3